# ostree-rs
-[](https://gitlab.com/fkrull/ostree-rs/commits/main)
[](https://crates.io/crates/ostree)
-[](https://fkrull.gitlab.io/ostree-rs/ostree)
+[](https://docs.rs/ostree)
**Rust** bindings for [libostree](https://ostreedev.github.io/ostree/introduction/).
-libostree is both a shared library and suite of command line tools that combines
+libostree is both a shared library and a suite of command line tools that combines
a "git-like" model for committing and downloading bootable filesystem trees,
along with a layer for deploying them and managing the bootloader configuration.
> **Note**: this crate was renamed from the `libostree` crate.
## Status
-Most bindings that can be auto-generated are being auto-generated by now.
+Most bindings that can be auto-generated are being auto-generated.
Anything that is not yet supported by the crate probably requires handwritten
bindings. These will most likely be added on an as-needed basis.
```toml
[dependencies]
-ostree = "0.10"
+ostree = "0.20"
```
To use features from later libostree versions, you need to specify the release
```toml
[dependencies.ostree]
-version = "0.10"
-features = ["v2021_1"]
+version = "0.20"
+features = ["v2025_2"]
```
## Developing
### Generated code
Most code is generated based on the gir files using the
-[gir](https://github.com/gtk-rs/gir) tool.
+[gir](https://github.com/gtk-rs/gir) tool.
You can update `OSTree-1.0.gir` by directly copying it from a local ostree build.